package com.hsq.androidproject.entity.find;

import java.util.List;

/**
 * Created by lenovo on 2017/3/17.
 */

public class FindItems {

    /**
     * rescode : 0
     * ts : 1489723809030
     * items : [{"type":"cate_v","name":"美妆护肤","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/Fs_V74v0c0FuMl_emfNObDz3UWU4.png","cid":3},{"type":"cate_v","name":"美食","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/FnGP19eC1tF8G9VWeTeIRoNJMQxf.png","cid":1},{"type":"cate_v","name":"减肥健身","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/FltNZx7AB5hXqRzRKOXgW1ixKHWr.png","cid":4},{"type":"cate_v","name":"娱乐","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/Fp28BZOrmuYJbW8fQUy3zQxOyWmR.png","cid":10},{"type":"cate_v","name":"星座","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/FqZ1hW90bk3N0dCUSlFsLNzT9Lqz.png","cid":5},{"type":"cate_v","name":"旅行","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/FkOmo8uIU7tf8nz7euuYiuLIBKxK.png","cid":2},{"type":"cate_v","name":"用户推荐","icon":"http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/FuCpDPtN_snUtrnCArMDrhBmyDli.png","cid":46},{"type":"draft","name":"投稿","icon":"draft"},{"type":"star_live","name":"明星直播","icon":"star_live"}]
     * ads : []
     */

    private int rescode;
    private long ts;
    /**
     * type : cate_v
     * name : 美妆护肤
     * icon : http://7xk9kc.com2.z0.glb.qiniucdn.com/hj_res/Fs_V74v0c0FuMl_emfNObDz3UWU4.png
     * cid : 3
     */

    private List<ItemsBean> items;
    private List<?> ads;

    public int getRescode() {
        return rescode;
    }

    public void setRescode(int rescode) {
        this.rescode = rescode;
    }

    public long getTs() {
        return ts;
    }

    public void setTs(long ts) {
        this.ts = ts;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public List<?> getAds() {
        return ads;
    }

    public void setAds(List<?> ads) {
        this.ads = ads;
    }

    public static class ItemsBean {
        private String type;
        private String name;
        private String icon;
        private int cid;

        @Override
        public String toString() {
            return "ItemsBean{" +
                    "type='" + type + '\'' +
                    ", name='" + name + '\'' +
                    ", icon='" + icon + '\'' +
                    ", cid=" + cid +
                    '}';
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getCid() {
            return cid;
        }

        public void setCid(int cid) {
            this.cid = cid;
        }
    }
}
